package cn.onlineoedering.user.dao;

import java.util.List;

import cn.onlineoedering.user.entity.GeneralUser;
import cn.onlineoedering.user.entity.queryEntity.QueryUserDo;

/**
 * @author 
 *
 */
public interface UserDao {
	
	public void save(GeneralUser user );
	
	public void delete(long id);
	
	public void update (GeneralUser user);
	
	public GeneralUser queryByName(String name);
	
	public QueryUserDo queryAll(Integer startPage,Integer endPage); 
	
	public List<GeneralUser> queryAll();
	
	public void saveTOXml(GeneralUser user ,String path);
	
	public void queryToXml(GeneralUser user ,String path);
}
